package com.imti.mall.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.imti.mall.model.oms.pojo.OmsOrderReturnApply;
import com.imti.mall.model.oms.query.OmsOrderListParam;
import com.imti.mall.order.mapper.OrderReturnApplyMapper;

import com.imti.mall.order.service.OrderReturnApplyService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class OrderReturnApplyServiceImpl extends ServiceImpl<OrderReturnApplyMapper, OmsOrderReturnApply> implements OrderReturnApplyService {
   @Resource
   OrderReturnApplyMapper returnApplyMapper;

    @Override
    public List<OmsOrderReturnApply> getApplyList(Map<String,Object> map) {
        return returnApplyMapper.getApplyList(map);
    }

    @Override
    public OmsOrderReturnApply getApplyDetail(Integer id) {
        return returnApplyMapper.getApplyDetail(id);
    }

    @Override
    public Integer updateApplyStatus(OmsOrderReturnApply returnApply) {
        return returnApplyMapper.updateApplyStatus(returnApply);
    }

    @Override
    public Integer deleteReturnApply(Integer[] ids) {
        return returnApplyMapper.deleteReturnApply(ids);
    }
}
